package com.pilipili.zeus.educms.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.pilipili.zeus.educms.entity.CrmBanner;
import com.baomidou.mybatisplus.extension.service.IService;
import com.pilipili.zeus.educms.entity.vo.BannerQuery;

import java.util.List;

/**
 * 首页banner表 服务类
 *
 * @author Unlimited_Blade_Works
 * @since 2021-05-30
 */
public interface CrmBannerService extends IService<CrmBanner> {
    /**
     * 后台分页+条件查询轮播图
     */
    void pageQuery(Page<CrmBanner> page, BannerQuery query);

    /**
     * 前台条件获取轮播图
     * @return  List<CrmBanner>
     */
    List<CrmBanner> listBanner();
}
